package com.chzc.pojo;

/**
 * @author CV大魔王
 * @Description 学生对象
 * @date 2021/3/14 19:48
 */
public class Student {

    /**
     * 账号
     */
    private String userName;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 性别
     */
    private String gender;

    /**
     * 年龄
     */
    private int age;


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Student() {
    }

    public Student(String userName, String pwd, String gender, int age) {
        this.userName = userName;
        this.pwd = pwd;
        this.gender = gender;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "userName='" + userName + '\'' +
                ", pwd='" + pwd + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                '}';
    }
}
